package DiYiZhou2;

import java.util.Scanner;
/*
* 判断奇偶性
* */
public class LianXi3 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a;
        System.out.println("请输入a的值");
        a= scanner.nextInt();
        if( a % 2 ==0){
            System.out.println("a为偶数");
        }
        else{
            System.out.println("a为奇数");
        }

    }
}
